<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="Generator" content="ALORK 20150428.01" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
    <meta name="Keywords" content="<?php echo $this->_var['keywords']; ?>" />
    <meta name="Description" content="<?php echo $this->_var['description']; ?>" />
    <title><?php echo $this->_var['page_title']; ?></title>
    <link rel="stylesheet" href="<?php echo $this->_var['__PUCM__']; ?>css/my_style.css" />
    <link rel="stylesheet" href="<?php echo $this->_var['__PUCM__']; ?>css/freeplan/freeplan.css" />
    <script type="text/javascript" src="<?php echo $this->_var['__PUC__']; ?>js/jquery.js" ></script>
    <script type="text/javascript" src="<?php echo $this->_var['__PUC__']; ?>js/jquery.json.js" ></script>
    <script type="text/javascript" src="<?php echo $this->_var['__PUCM__']; ?>js/mobile-common.js" ></script>
</head>
<body>
<?php echo $this->fetch('library/common_head.lbi'); ?>
<script type="text/javascript">
    autoWidth(640); //调用rem自适应函数
</script>
<div id="freeplan-content">
    <?php if ($this->_var['action'] == 'default'): ?>
    
    <div class="dream-top">
        <img src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/dream-top.png" alt="圆梦头部部分">
        <?php if (! $this->_var['user_id']): ?>
        <a class="btn" href="user.php" title="登录报名">立即报名</a>
        <?php elseif (! $this->_var['sign']): ?>
        <a class="btn" href="freeplan.php?act=agreement&sign=1" title="立即报名">立即报名</a>
        <?php else: ?>
        <div class="btn">您已报名</div>
        <?php endif; ?>
    </div>
    

    
    <div class="bonus">
        <img src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/bonus-bg.png" alt="奖金总额背景">
        <div class="money">
            <span>￥</span>
            <span class="soaring-money">0</span>
            <input type="hidden" value="<?php echo $this->_var['stats']['sum']; ?>" id='soaring-money'/>
        </div>
        <span class="soaring-people">0</span>
        <input type="hidden" value="<?php echo $this->_var['stats']['count']; ?>" id='soaring-people'/>
    </div>
    

    
    <div class="ranking">
        <div class="top">梦想奖金排行榜</div>
        <img class="line" src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/freeplan-line.png" alt="线">
        <ul class="list">
            <li class="l1">排名</li>
            <li class="l2">姓名</li>
            <li class="l3">梦想美院</li>
            <li class="l4">可得奖金</li>
        </ul>
        <img class="line" src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/freeplan-line.png" alt="线">
        <div class="content">
            <?php $_from = $this->_var['rank_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item']):
?>
            <div class="user-list">
                <span class="li1">
                    <?php if ($this->_var['item']['key'] == 1): ?>
                    <img src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/win-1.png" alt="第一名">
                    <?php elseif ($this->_var['item']['key'] == 2): ?>
                    <img src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/win-2.png" alt="第二名">
                    <?php elseif ($this->_var['item']['key'] == 3): ?>
                    <img src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/win-3.png" alt="第三名">
                    <?php else: ?>
                    <?php echo $this->_var['item']['key']; ?>
                    <?php endif; ?>
                </span>
                <span class="li2"><?php echo $this->_var['item']['realname']; ?></span>
                <span class="li3"><?php echo $this->_var['item']['academy']; ?></span>
                <span class="li4">￥<?php echo $this->_var['item']['money']; ?></span>
            </div>
            <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
        </div>
        <a class="more" href="freeplan.php?act=sign_rank">查看更多...</a>
    </div>
    <div class="enrollment-scroll">
        <div id="scroll-rename">
            <table>
                <tr>
                    <td id="scroll-1">
                        <table width="2000">
                            <tr>
                                <?php $_from = $this->_var['user_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item']):
?>
                                <td><?php echo $this->_var['item']['realname']; ?>已报名</td>
                                <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
                            </tr>
                        </table>
                    </td>
                    <td id="scroll-2"></td>
                </tr>
            </table>
        </div>
    </div>
    

    
    <div class="why-do">
        <img class="top" src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/why-do-top.png" alt="为什么实行圆梦美院计划">
        <?php if (! $this->_var['user_id']): ?>
        <a class="btn" href="user.php" title="登录报名">我们一起追梦</a>
        <?php elseif (! $this->_var['sign']): ?>
        <a class="btn" href="freeplan.php?act=agreement&sign=1" title="立即报名">我们一起追梦</a>
        <?php else: ?>
        <a class="btn" href="freeplan.php">我们一起追梦</a>
        <?php endif; ?>
        <img class="bottom" src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/why-do-bottom.png" alt="为什么实行圆梦美院计划">
        <div class="video-bg">
            <img src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/why-do-video.jpg" alt="视频图片">
        </div>
        <iframe class="embed" src="http://player.youku.com/embed/XMjMyODQzNjAw" frameborder=0 allowfullscreen></iframe>
        <span class="bg-color"></span>
    </div>
    

    
    <div class="recommend">
        <img class="top" src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/recommend-top.png" alt="名师推荐">
        <img class="portrait1" src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/portrait1.jpg" alt="名师推荐">
        <img class="portrait2" src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/portrait2.jpg" alt="名师推荐">
        <div class="box">
            <img class="video-pp" src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/recommend-video-pp.jpg" alt="视频图片">
            <iframe class="embed" src="http://player.youku.com/embed/XMjMyODQzNjAw" frameborder=0 allowfullscreen></iframe>
        </div>
    </div>
    

    
    <div class="small-bar">
        <img class="title" src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/small-bar.png" alt="考上美院返还所有消费金额">
        <?php if (! $this->_var['user_id']): ?>
        <a class="btn" href="user.php" title="登录报名">立即报名</a>
        <?php elseif (! $this->_var['sign']): ?>
        <a class="btn" href="freeplan.php?act=agreement&sign=1" title="立即报名">立即报名</a>
        <?php else: ?>
        <a class="btn" href="freeplan.php">您已报名</a>
        <?php endif; ?>
    </div>
    

    
    <div class="arts-academy">
        <img class="top" src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/arts-academy-top.png" alt="九大美院资料">
        <img class="content" src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/arts-academy-content.jpg" alt="九大美院"> 
    </div>
    

    
    <div class="win-billboard">
        <div class="title">2015届获奖风云榜</div>
        <img class="line" src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/freeplan-line.png" alt="线">
        <ul class="list">
            <li class="l1">排名</li>
            <li class="l2">姓名</li>
            <li class="l3">圆梦美院</li>
            <li class="l4">返现奖金</li>
        </ul>
        <img class="line" src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/freeplan-line.png" alt="线">
        <div class="content">
            <?php $_from = $this->_var['user_false2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'data');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['data']):
?>
            <div class="user-list">
                <span class="li1">
                    <?php if ($this->_var['data']['key'] == 1): ?>
                    <img src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/win-1.png" alt="第一名">
                    <?php elseif ($this->_var['data']['key'] == 2): ?>
                    <img src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/win-2.png" alt="第二名">
                    <?php elseif ($this->_var['data']['key'] == 3): ?>
                    <img src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/win-3.png" alt="第三名">
                    <?php else: ?>
                    <?php echo $this->_var['data']['key']; ?>
                    <?php endif; ?>
                </span>
                <span class="li2"><?php echo $this->_var['data']['realname']; ?></span>
                <span class="li3"><?php echo $this->_var['data']['academy']; ?></span>
                <span class="li4">￥<?php echo $this->_var['data']['money']; ?></span>
            </div> 
            <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
        </div>
        <a class="more" href="freeplan.php?act=win_more">查看更多...</a>
    </div>
    <div class="win-billboard-bottom">
        <div class="one">
            <span class="left">派奖总金额：</span>
            <span class="right">￥570080</span>
        </div>
        <div class="two">
            <span class="left">共考上美院：</span>
            <span class="right">304人</span>
        </div>
        <div class="three">
            <span class="left">考上最多的美院：</span>
            <span class="right">湖北美术学院</span>
        </div>
        <?php if (! $this->_var['user_id']): ?>
        <a class="btn" href="user.php">我要上美院</a>
        <?php elseif (! $this->_var['sign']): ?>
        <a class="btn" href="freeplan.php?act=agreement&sign=1" title="我要上美院">我要上美院</a>
        <?php elseif ($this->_var['sign'] == 1): ?>
        <a class="btn" href="freeplan.php" title="我要上美院" target="_blank">我要上美院</a>
        <?php endif; ?>
    </div>
    

    
    <div class="suppliers">
        <img class="top" src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/suppliers-top.png" alt="国际大牌 全力支持 力保正品">
        <div class="content">
            <img class="img1" src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/suppliers1.jpg" alt="供应商">
            <img class="img2" src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/suppliers2.jpg" alt="供应商">
            <img class="img3" src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/suppliers3.jpg" alt="供应商">
            <img class="img4" src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/suppliers4.jpg" alt="供应商">
            <img class="img5" src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/suppliers5.jpg" alt="供应商">
            <img class="img6" src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/suppliers6.jpg" alt="供应商">
        </div>
        <img class="page-bottom" src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/page-bottom.jpg" alt="圆梦美院计划">
    </div>
    
    <script type="text/javascript" src="<?php echo $this->_var['__PUCM__']; ?>js/freeplan/freeplan.js" ></script>
    <?php endif; ?>

    <?php if ($this->_var['action'] == 'sign_rank'): ?>
    
    <div class="rank-inpage">
        <img class="top" src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/rank-inpage-top.jpg" alt="奖金排行榜">
        <div class="box">
            <ul class="list">
                <li class="l1">排名</li>
                <li class="l2">姓名</li>
                <li class="l3">梦想美院</li>
                <li class="l4">可得奖金</li>
            </ul>
        </div>
        <div class="content">
            <?php $_from = $this->_var['rank_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item']):
?>
            <div class="user-list">
                <span class="li1"><?php echo $this->_var['item']['key']; ?></span>
                <span class="li2"><?php echo $this->_var['item']['realname']; ?></span>
                <span class="li3"><?php echo $this->_var['item']['academy']; ?></span>
                <span class="li4">￥<?php echo $this->_var['item']['money']; ?></span>
            </div>
            <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
        </div>
    </div>
    
    <?php endif; ?>

    <?php if ($this->_var['action'] == 'win_more'): ?>
    
    <div class="win-billboard">
        <div class="title">2015届获奖风云榜</div>
        <img class="line" src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/freeplan-line.png" alt="线">
        <ul class="list">
            <li class="l1">排名</li>
            <li class="l2">姓名</li>
            <li class="l3">圆梦美院</li>
            <li class="l4">返现奖金</li>
        </ul>
        <img class="line" src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/freeplan-line.png" alt="线">
        <div class="content in-page">
            <?php $_from = $this->_var['user_false2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'data');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['data']):
?>
            <div class="user-list">
                <span class="li1">
                    <?php if ($this->_var['data']['key'] == 1): ?>
                    <img src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/win-1.png" alt="第一名">
                    <?php elseif ($this->_var['data']['key'] == 2): ?>
                    <img src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/win-2.png" alt="第二名">
                    <?php elseif ($this->_var['data']['key'] == 3): ?>
                    <img src="<?php echo $this->_var['__PUCM__']; ?>img/freeplan/win-3.png" alt="第三名">
                    <?php else: ?>
                    <?php echo $this->_var['data']['key']; ?>
                    <?php endif; ?>
                </span>
                <span class="li2"><?php echo $this->_var['data']['realname']; ?></span>
                <span class="li3"><?php echo $this->_var['data']['academy']; ?></span>
                <span class="li4">￥<?php echo $this->_var['data']['money']; ?></span>
            </div> 
            <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
        </div>
    </div>
    
    <?php endif; ?>
    <?php echo $this->fetch('freeplan/enroll_process.lbi'); ?>
</div>
</body>
</html>